#循环求1~100的和
sum = 0
i=1
while i<=100:
    sum+=i
    i+=1
print(sum)

